package com.addplus.townmall.server.api.model.town.expand;

import com.addplus.townmall.server.api.model.town.OptimalShop;
import com.addplus.townmall.server.api.model.town.ShopSpecificationSku;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

/**
 * 类名: OptimalShopExpand
 *
 * @author zhangjiehang
 * @version V1.0
 * @date 2018/11/9 6:39 PM
 * @description 类描述: 优选商品出参类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class OptimalShopExpand extends OptimalShop{

    private static final long serialVersionUID = -1482028126971300750L;
    /**
     * 商品总评论数
     */
    @TableField("total_comment")
    private Integer totalComment;
    /**
     * 商品好评率
     */
    @TableField("good_rate")
    private Integer goodRate;

    /**
     * 店铺LOGO路径
     */
    @TableField("icon_path")
    private String iconPath;


    /**
     * 所属店铺名称
     */
    @TableField("store_name")
    private String storeName;

    /**
     * 商品名称
     */
    @TableField("shop_name")
    private String shopName;

    /**
     * 商品标签
     */
    @TableField("shop_tag")
    private String shopTag;

    /**
     * 商品标签
     */
    @TableField("sku_describe")
    private String skuDescribe;
    /**
     * sku 销售价格
     */
    @TableField("sku_sale_price")
    private BigDecimal skuSalePrice;
    /**
     * sku 划线价格
     */
    @TableField("sku_line_price")
    private BigDecimal skuLinePrice;

    private List<ShopSpecificationSku> shopSkuList;

    @TableField("sale_virtual_count")
    private String saleVirtualCount;

    /**
     * 商品评论数
     */
    @TableField("shop_comment_count")
    private Integer shopCommentcount;
}
